Repository navigation
feat: manage project agent memory through ship briefs - #21
Conversation
|
Audited against code: all four slices delivered, including stateful doors as world entities with dynamic walkability that consults live door state each movement step (hand-verified), authoritative open/close, and the dev authoring overlay. Full suite green. Two polish follow-ups (reconcile the single z=0 placeholder sign with ADR-0011's hung pair; UO-client visual confirmation of door art ids) are captain-side, not re-open blockers. Closing as delivered. |
* Clarify captain address rule * Document project memory ownership * Add project memory helper to briefs * no-mistakes(document): Sync project memory docs
|
Retired on the captain's decision, 2026-08-06, following the board triage of that date. This is one of four prior dashboard framings (#16, #21, #26, #19) that the approved 2026-08-05 design work supersedes. #350 names them as "prior framings of this page, to fold in or close", and the captain has chosen to close. Specifically: #350 argues against keying a dashboard off role at all, since capabilities resolve as a union across held roles and role-keying would reintroduce what #203 removed — which contradicts #16's premise directly. The Stitch-template framing in #21 is superseded by the three 2026-08-05 design studies. #26 and #19 are absorbed by that cluster plus #217 and the Project Detail epics #177–#181. Nothing here is lost: a closed issue stays readable, and the live successors are #350, #217, #328 and #177–#181. Reopen if a requirement here turns out to have no successor. |
…rom stale-beacon (kunchenguid#21) * fix(afk): prefer the terminal-backed away daemon and name gone-daemon vs stale-beacon The /afk skill preferred Claude/Grok's native background tool, exactly the path Claude Code's low-memory guard has silently killed on transient RAM spikes even with several GB free; the terminal-backed daemon sits outside that job table and survives them. Prefer it now whenever the backend supports a non-visible terminal (tmux or herdr), regardless of harness, and reserve the native path for backends with neither. The turn-end guard also named every away-mode supervision lapse as generic "no live watcher", which sends an operator toward the wrong recovery for a live daemon with a stuck watcher versus a daemon that is simply gone; it now names each distinctly. Upstream: kunchenguid#3930 * no-mistakes(review): Add tmux-availability skip guard to dead-pid terminal test * no-mistakes(document): Document distinct away-mode block-banner wording in turnend-guard.md --------- Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
Not live-proven
|
kunchenguid#21) * feat(primary): certify Cursor CLI primary and add cursor-grok launcher Validate Cursor agent 2026.07.20-8cc9c0b as a Firstmate primary in an isolated Herdr lab and add bin/fm-primary.sh cursor-grok (agent --yolo --model cursor-grok-4.5-high). SessionStart and PreToolUse via .claude/settings.json pass; Stop did not fire on this CLI version (documented fail); status-bar remains a documented API gap. Worker adapter behavior is unchanged. * fix(status-bar): keep Cursor worker-only in the status-bar owner Restore the status-bar contract's worker-only / not-applicable Cursor boundary so the owner test passes. Cursor primary certification remains elsewhere; no captain-facing Cursor status renderer or companion is added.
…R is gone (kunchenguid#21) A floater macOS starts by itself (Quit & Reopen, Finder, a login item) inherits the login session's TMPDIR, which an installer can leave naming a deleted folder. Every helper the floater runs that makes a temporary file then failed: transcription reported "Saved - retrying" and screenshots landed in the mailbox instead of the chat. At launch the floater now keeps TMPDIR only when it is an existing folder it can write to, and otherwise points it at macOS's per-user temporary folder, then /tmp, so every helper it starts inherits a working one. A test runs the real transcription helper with a deleted TMPDIR before and after the repair.
Intent
Codify two captain-approved firstmate self-governance rules into the firstmate template. Separate mandatory captain address from optional nautical seasoning in AGENTS.md so every response addresses the user as captain, including bad news, while playful flavor remains optional and drops for serious findings. Document project-memory ownership in section 6: project-intrinsic durable knowledge belongs in a project's committed AGENTS.md with CLAUDE.md as a symlink; fleet and captain-private knowledge remains in firstmate data; prime directive #1 is preserved because firstmate does not hand-write project AGENTS.md files, crewmates update them through normal delivery; creation is lazy; data/projects.md remains a thin registry. Add an idempotent bin/fm-ensure-agents-md.sh helper for worktrees and wire ship briefs, but not scout briefs, to run it and record durable project-intrinsic learnings proportionately.
What Changed
captainaddress rule from optional nautical seasoning, including guidance for serious or bad-news responses.AGENTS.mdfiles while fleet-private state stays indata/.bin/fm-ensure-agents-md.shand wires ship briefs to use it for creating, promoting, or validating projectAGENTS.md/CLAUDE.mdconventions.Risk Assessment
✅ Low: The changes are limited to documentation, brief scaffolding, and a small idempotent helper with conservative conflict handling.
Testing
Captain, I exercised the changed docs and scripts end-to-end: repo invariants held, the AGENTS/CLAUDE helper created/promoted/refused the expected file states, ship briefing included the project-memory contract while scout briefing omitted it, documentation checks matched the intended governance rules, and transient worktree test data was removed afterward.
Evidence: Governance and project-memory helper transcript
Shows repo invariants passing, fm-ensure-agents-md create/idempotence/promotion/conflict behavior, fm-brief ship-vs-scout project-memory behavior, and AGENTS.md documentation checks.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git diff --stat 3780ba7d53a92234c79841ce33f8945d3f1b2cf1..d12682aaa864cea2477660ddbcd3148366fc53e0 && git diff --name-only 3780ba7d53a92234c79841ce33f8945d3f1b2cf1..d12682aaa864cea2477660ddbcd3148366fc53e0Repo invariant checks equivalent to.github/workflows/ci.yml:readlink CLAUDE.md,readlink .claude/skills, andgit ls-files -- data state config projects .no-mistakesEnd-to-endbin/fm-ensure-agents-md.shcases in the evidence directory: empty worktree creation, idempotent rerun, legacy realCLAUDE.mdpromotion, and conflicting real-file refusalbin/fm-brief.sh test-ship-memory-x7 sample-repoandbin/fm-brief.sh test-scout-memory-x7 sample-repo --scout, verifying ship briefs include the project-memory helper and scout briefs omit itDocumentation checks againstAGENTS.mdfor mandatory captain address, optional serious-context seasoning behavior, project-memory ownership, and thindata/projects.mdregistry languagegit status --shortafter cleanup✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.